<!doctype html>

<html>
<head>
  <link rel="shortcut icon" href="static/images/favicon.ico" type="image/x-icon">
  <title>aes.js (Closure Library API Documentation - JavaScript)</title>
  <link rel="stylesheet" href="static/css/base.css">
  <link rel="stylesheet" href="static/css/doc.css">
  <link rel="stylesheet" href="static/css/sidetree.css">
  <link rel="stylesheet" href="static/css/prettify.css">

  <script>
     var _staticFilePath = "static/";
     var _typeTreeName = "goog";
     var _fileTreeName = "Source";
  </script>

  <script src="static/js/doc.js">
  </script>


  <meta charset="utf8">
</head>

<body onload="grokdoc.onLoad();">

<div id="header">
  <div class="g-section g-tpl-50-50 g-split">
    <div class="g-unit g-first">
      <a id="logo" href="index.html">Closure Library API Documentation</a>
    </div>

    <div class="g-unit">
      <div class="g-c">
        <strong>Go to class or file:</strong>
        <input type="text" id="ac">
      </div>
    </div>
  </div>
</div>

<div class="clear"></div>

<h2><a href="local_closure_goog_crypt_aes.js.html">aes.js</a></h2>

<pre class="prettyprint lang-js">
<a name="line1"></a>// Copyright 2012 The Closure Library Authors. All Rights Reserved.
<a name="line2"></a>//
<a name="line3"></a>// Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
<a name="line4"></a>// you may not use this file except in compliance with the License.
<a name="line5"></a>// You may obtain a copy of the License at
<a name="line6"></a>//
<a name="line7"></a>//      http://www.apache.org/licenses/LICENSE-2.0
<a name="line8"></a>//
<a name="line9"></a>// Unless required by applicable law or agreed to in writing, software
<a name="line10"></a>// distributed under the License is distributed on an &quot;AS-IS&quot; BASIS,
<a name="line11"></a>// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
<a name="line12"></a>// See the License for the specific language governing permissions and
<a name="line13"></a>// limitations under the License.
<a name="line14"></a>
<a name="line15"></a>/**
<a name="line16"></a> * @fileoverview Implementation of AES in JavaScript.
<a name="line17"></a> * @see http://en.wikipedia.org/wiki/Advanced_Encryption_Standard
<a name="line18"></a> *
<a name="line19"></a> * @author nnaze@google.com (Nathan Naze) - port to Closure
<a name="line20"></a> */
<a name="line21"></a>
<a name="line22"></a>goog.provide(&#39;goog.crypt.Aes&#39;);
<a name="line23"></a>
<a name="line24"></a>goog.require(&#39;goog.asserts&#39;);
<a name="line25"></a>goog.require(&#39;goog.crypt.BlockCipher&#39;);
<a name="line26"></a>
<a name="line27"></a>
<a name="line28"></a>
<a name="line29"></a>/**
<a name="line30"></a> * Implementation of AES in JavaScript.
<a name="line31"></a> * See http://en.wikipedia.org/wiki/Advanced_Encryption_Standard
<a name="line32"></a> *
<a name="line33"></a> * WARNING: This is ECB mode only. If you are encrypting something
<a name="line34"></a> * longer than 16 bytes, or encrypting more than one value with the same key
<a name="line35"></a> * (so basically, always) you need to use this with a block cipher mode of
<a name="line36"></a> * operation.  See goog.crypt.Cbc.
<a name="line37"></a> *
<a name="line38"></a> * See http://en.wikipedia.org/wiki/Block_cipher_modes_of_operation for more
<a name="line39"></a> * information.
<a name="line40"></a> *
<a name="line41"></a> * @constructor
<a name="line42"></a> * @implements {goog.crypt.BlockCipher}
<a name="line43"></a> * @param {!Array.&lt;number&gt;} key The key as an array of integers in {0, 255}.
<a name="line44"></a> *     The key must have lengths of 16, 24, or 32 integers for 128-,
<a name="line45"></a> *     192-, or 256-bit encryption, respectively.
<a name="line46"></a> * @final
<a name="line47"></a> * @struct
<a name="line48"></a> */
<a name="line49"></a>goog.crypt.Aes = function(key) {
<a name="line50"></a>  goog.crypt.Aes.assertKeyArray_(key);
<a name="line51"></a>
<a name="line52"></a>  /**
<a name="line53"></a>   * The AES key.
<a name="line54"></a>   * @type {!Array.&lt;number&gt;}
<a name="line55"></a>   * @private
<a name="line56"></a>   */
<a name="line57"></a>  this.key_ = key;
<a name="line58"></a>
<a name="line59"></a>  /**
<a name="line60"></a>   * Key length, in words.
<a name="line61"></a>   * @type {number}
<a name="line62"></a>   * @private
<a name="line63"></a>   */
<a name="line64"></a>  this.keyLength_ = this.key_.length / 4;
<a name="line65"></a>
<a name="line66"></a>  /**
<a name="line67"></a>   * Number of rounds.  Based on key length per AES spec.
<a name="line68"></a>   * @type {number}
<a name="line69"></a>   * @private
<a name="line70"></a>   */
<a name="line71"></a>  this.numberOfRounds_ = this.keyLength_ + 6;
<a name="line72"></a>
<a name="line73"></a>  /**
<a name="line74"></a>   * 4x4 byte array containing the current state.
<a name="line75"></a>   * @type {!Array.&lt;Array.&lt;number&gt;&gt;}
<a name="line76"></a>   * @private
<a name="line77"></a>   */
<a name="line78"></a>  this.state_ = [[], [], [], []];
<a name="line79"></a>
<a name="line80"></a>  /**
<a name="line81"></a>   * Scratch temporary array for calculation.
<a name="line82"></a>   * @type {!Array.&lt;Array.&lt;number&gt;&gt;}
<a name="line83"></a>   * @private
<a name="line84"></a>   */
<a name="line85"></a>  this.temp_ = [[], [], [], []];
<a name="line86"></a>
<a name="line87"></a>  this.keyExpansion_();
<a name="line88"></a>};
<a name="line89"></a>
<a name="line90"></a>
<a name="line91"></a>/**
<a name="line92"></a> * @define {boolean} Whether to call test method stubs.  This can be enabled
<a name="line93"></a> *     for unit testing.
<a name="line94"></a> */
<a name="line95"></a>goog.define(&#39;goog.crypt.Aes.ENABLE_TEST_MODE&#39;, false);
<a name="line96"></a>
<a name="line97"></a>
<a name="line98"></a>/**
<a name="line99"></a> * @override
<a name="line100"></a> */
<a name="line101"></a>goog.crypt.Aes.prototype.encrypt = function(input) {
<a name="line102"></a>
<a name="line103"></a>  if (goog.crypt.Aes.ENABLE_TEST_MODE) {
<a name="line104"></a>    this.testKeySchedule_(0, this.keySchedule_, 0);
<a name="line105"></a>  }
<a name="line106"></a>
<a name="line107"></a>  this.copyInput_(input);
<a name="line108"></a>  this.addRoundKey_(0);
<a name="line109"></a>
<a name="line110"></a>  for (var round = 1; round &lt; this.numberOfRounds_; ++round) {
<a name="line111"></a>    if (goog.crypt.Aes.ENABLE_TEST_MODE) {
<a name="line112"></a>      this.testKeySchedule_(round, this.keySchedule_, round);
<a name="line113"></a>      this.testStartRound_(round, this.state_);
<a name="line114"></a>    }
<a name="line115"></a>
<a name="line116"></a>    this.subBytes_(goog.crypt.Aes.SBOX_);
<a name="line117"></a>    if (goog.crypt.Aes.ENABLE_TEST_MODE) {
<a name="line118"></a>      this.testAfterSubBytes_(round, this.state_);
<a name="line119"></a>    }
<a name="line120"></a>
<a name="line121"></a>    this.shiftRows_();
<a name="line122"></a>    if (goog.crypt.Aes.ENABLE_TEST_MODE) {
<a name="line123"></a>      this.testAfterShiftRows_(round, this.state_);
<a name="line124"></a>    }
<a name="line125"></a>
<a name="line126"></a>    this.mixColumns_();
<a name="line127"></a>    if (goog.crypt.Aes.ENABLE_TEST_MODE) {
<a name="line128"></a>      this.testAfterMixColumns_(round, this.state_);
<a name="line129"></a>    }
<a name="line130"></a>
<a name="line131"></a>    this.addRoundKey_(round);
<a name="line132"></a>  }
<a name="line133"></a>
<a name="line134"></a>  this.subBytes_(goog.crypt.Aes.SBOX_);
<a name="line135"></a>  if (goog.crypt.Aes.ENABLE_TEST_MODE) {
<a name="line136"></a>    this.testAfterSubBytes_(round, this.state_);
<a name="line137"></a>  }
<a name="line138"></a>
<a name="line139"></a>  this.shiftRows_();
<a name="line140"></a>  if (goog.crypt.Aes.ENABLE_TEST_MODE) {
<a name="line141"></a>    this.testAfterShiftRows_(round, this.state_);
<a name="line142"></a>  }
<a name="line143"></a>
<a name="line144"></a>  this.addRoundKey_(this.numberOfRounds_);
<a name="line145"></a>
<a name="line146"></a>  return this.generateOutput_();
<a name="line147"></a>};
<a name="line148"></a>
<a name="line149"></a>
<a name="line150"></a>/**
<a name="line151"></a> * @override
<a name="line152"></a> */
<a name="line153"></a>goog.crypt.Aes.prototype.decrypt = function(input) {
<a name="line154"></a>
<a name="line155"></a>  if (goog.crypt.Aes.ENABLE_TEST_MODE) {
<a name="line156"></a>    this.testKeySchedule_(0, this.keySchedule_, this.numberOfRounds_);
<a name="line157"></a>  }
<a name="line158"></a>
<a name="line159"></a>  this.copyInput_(input);
<a name="line160"></a>  this.addRoundKey_(this.numberOfRounds_);
<a name="line161"></a>
<a name="line162"></a>  for (var round = 1; round &lt; this.numberOfRounds_; ++round) {
<a name="line163"></a>    if (goog.crypt.Aes.ENABLE_TEST_MODE) {
<a name="line164"></a>      this.testKeySchedule_(round, this.keySchedule_,
<a name="line165"></a>                            this.numberOfRounds_ - round);
<a name="line166"></a>      this.testStartRound_(round, this.state_);
<a name="line167"></a>    }
<a name="line168"></a>
<a name="line169"></a>    this.invShiftRows_();
<a name="line170"></a>    if (goog.crypt.Aes.ENABLE_TEST_MODE) {
<a name="line171"></a>      this.testAfterShiftRows_(round, this.state_);
<a name="line172"></a>    }
<a name="line173"></a>
<a name="line174"></a>    this.subBytes_(goog.crypt.Aes.INV_SBOX_);
<a name="line175"></a>    if (goog.crypt.Aes.ENABLE_TEST_MODE) {
<a name="line176"></a>      this.testAfterSubBytes_(round, this.state_);
<a name="line177"></a>    }
<a name="line178"></a>
<a name="line179"></a>    this.addRoundKey_(this.numberOfRounds_ - round);
<a name="line180"></a>    if (goog.crypt.Aes.ENABLE_TEST_MODE) {
<a name="line181"></a>      this.testAfterAddRoundKey_(round, this.state_);
<a name="line182"></a>    }
<a name="line183"></a>
<a name="line184"></a>    this.invMixColumns_();
<a name="line185"></a>  }
<a name="line186"></a>
<a name="line187"></a>  this.invShiftRows_();
<a name="line188"></a>  if (goog.crypt.Aes.ENABLE_TEST_MODE) {
<a name="line189"></a>    this.testAfterShiftRows_(round, this.state_);
<a name="line190"></a>  }
<a name="line191"></a>
<a name="line192"></a>  this.subBytes_(goog.crypt.Aes.INV_SBOX_);
<a name="line193"></a>  if (goog.crypt.Aes.ENABLE_TEST_MODE) {
<a name="line194"></a>    this.testAfterSubBytes_(this.numberOfRounds_, this.state_);
<a name="line195"></a>  }
<a name="line196"></a>
<a name="line197"></a>  if (goog.crypt.Aes.ENABLE_TEST_MODE) {
<a name="line198"></a>    this.testKeySchedule_(this.numberOfRounds_, this.keySchedule_, 0);
<a name="line199"></a>  }
<a name="line200"></a>
<a name="line201"></a>  this.addRoundKey_(0);
<a name="line202"></a>
<a name="line203"></a>  return this.generateOutput_();
<a name="line204"></a>};
<a name="line205"></a>
<a name="line206"></a>
<a name="line207"></a>/**
<a name="line208"></a> * Block size, in words.  Fixed at 4 per AES spec.
<a name="line209"></a> * @type {number}
<a name="line210"></a> * @private
<a name="line211"></a> */
<a name="line212"></a>goog.crypt.Aes.BLOCK_SIZE_ = 4;
<a name="line213"></a>
<a name="line214"></a>
<a name="line215"></a>/**
<a name="line216"></a> * Asserts that the key&#39;s array of integers is in the correct format.
<a name="line217"></a> * @param {!Array.&lt;number&gt;} arr AES key as array of integers.
<a name="line218"></a> * @private
<a name="line219"></a> */
<a name="line220"></a>goog.crypt.Aes.assertKeyArray_ = function(arr) {
<a name="line221"></a>  if (goog.asserts.ENABLE_ASSERTS) {
<a name="line222"></a>    goog.asserts.assert(arr.length == 16 || arr.length == 24 ||
<a name="line223"></a>                        arr.length == 32,
<a name="line224"></a>                        &#39;Key must have length 16, 24, or 32.&#39;);
<a name="line225"></a>    for (var i = 0; i &lt; arr.length; i++) {
<a name="line226"></a>      goog.asserts.assertNumber(arr[i]);
<a name="line227"></a>      goog.asserts.assert(arr[i] &gt;= 0 &amp;&amp; arr[i] &lt;= 255);
<a name="line228"></a>    }
<a name="line229"></a>  }
<a name="line230"></a>};
<a name="line231"></a>
<a name="line232"></a>
<a name="line233"></a>/**
<a name="line234"></a> * Tests can populate this with a callback, and that callback will get called
<a name="line235"></a> * at the start of each round *in both functions encrypt() and decrypt()*.
<a name="line236"></a> * @param {number} roundNum Round number.
<a name="line237"></a> * @param {!Array.&lt;Array.&lt;number&gt;&gt;} Current state.
<a name="line238"></a> * @private
<a name="line239"></a> */
<a name="line240"></a>goog.crypt.Aes.prototype.testStartRound_ = goog.nullFunction;
<a name="line241"></a>
<a name="line242"></a>
<a name="line243"></a>/**
<a name="line244"></a> * Tests can populate this with a callback, and that callback will get called
<a name="line245"></a> * each round right after the SubBytes step gets executed *in both functions
<a name="line246"></a> * encrypt() and decrypt()*.
<a name="line247"></a> * @param {number} roundNum Round number.
<a name="line248"></a> * @param {!Array.&lt;Array.&lt;number&gt;&gt;} Current state.
<a name="line249"></a> * @private
<a name="line250"></a> */
<a name="line251"></a>goog.crypt.Aes.prototype.testAfterSubBytes_ = goog.nullFunction;
<a name="line252"></a>
<a name="line253"></a>
<a name="line254"></a>/**
<a name="line255"></a> * Tests can populate this with a callback, and that callback will get called
<a name="line256"></a> * each round right after the ShiftRows step gets executed *in both functions
<a name="line257"></a> * encrypt() and decrypt()*.
<a name="line258"></a> * @param {number} roundNum Round number.
<a name="line259"></a> * @param {!Array.&lt;Array.&lt;number&gt;&gt;} Current state.
<a name="line260"></a> * @private
<a name="line261"></a> */
<a name="line262"></a>goog.crypt.Aes.prototype.testAfterShiftRows_ = goog.nullFunction;
<a name="line263"></a>
<a name="line264"></a>
<a name="line265"></a>/**
<a name="line266"></a> * Tests can populate this with a callback, and that callback will get called
<a name="line267"></a> * each round right after the MixColumns step gets executed *but only in the
<a name="line268"></a> * decrypt() function*.
<a name="line269"></a> * @param {number} roundNum Round number.
<a name="line270"></a> * @param {!Array.&lt;Array.&lt;number&gt;&gt;} Current state.
<a name="line271"></a> * @private
<a name="line272"></a> */
<a name="line273"></a>goog.crypt.Aes.prototype.testAfterMixColumns_ = goog.nullFunction;
<a name="line274"></a>
<a name="line275"></a>
<a name="line276"></a>/**
<a name="line277"></a> * Tests can populate this with a callback, and that callback will get called
<a name="line278"></a> * each round right after the AddRoundKey step gets executed  encrypt().
<a name="line279"></a> * @param {number} roundNum Round number.
<a name="line280"></a> * @param {!Array.&lt;Array.&lt;number&gt;&gt;} Current state.
<a name="line281"></a> * @private
<a name="line282"></a> */
<a name="line283"></a>goog.crypt.Aes.prototype.testAfterAddRoundKey_ = goog.nullFunction;
<a name="line284"></a>
<a name="line285"></a>
<a name="line286"></a>/**
<a name="line287"></a> * Tests can populate this with a callback, and that callback will get called
<a name="line288"></a> * before each round on the round key.  *Gets called in both the encrypt() and
<a name="line289"></a> * decrypt() functions.*
<a name="line290"></a> * @param {number} roundNum Round number.
<a name="line291"></a> * @param {!Array.&lt;number&gt;} Computed key schedule.
<a name="line292"></a> * @param {number} index The index into the key schedule to test. This is not
<a name="line293"></a> *     necessarily roundNum because the key schedule is used in reverse
<a name="line294"></a> *     in the case of decryption.
<a name="line295"></a> * @private
<a name="line296"></a> */
<a name="line297"></a>goog.crypt.Aes.prototype.testKeySchedule_ = goog.nullFunction;
<a name="line298"></a>
<a name="line299"></a>
<a name="line300"></a>/**
<a name="line301"></a> * Helper to copy input into the AES state matrix.
<a name="line302"></a> * @param {!Array.&lt;number&gt;} input Byte array to copy into the state matrix.
<a name="line303"></a> * @private
<a name="line304"></a> */
<a name="line305"></a>goog.crypt.Aes.prototype.copyInput_ = function(input) {
<a name="line306"></a>  var v, p;
<a name="line307"></a>
<a name="line308"></a>  goog.asserts.assert(input.length == goog.crypt.Aes.BLOCK_SIZE_ * 4,
<a name="line309"></a>                      &#39;Expecting input of 4 times block size.&#39;);
<a name="line310"></a>
<a name="line311"></a>  for (var r = 0; r &lt; goog.crypt.Aes.BLOCK_SIZE_; r++) {
<a name="line312"></a>    for (var c = 0; c &lt; 4; c++) {
<a name="line313"></a>      p = c * 4 + r;
<a name="line314"></a>      v = input[p];
<a name="line315"></a>
<a name="line316"></a>      goog.asserts.assert(
<a name="line317"></a>          v &lt;= 255 &amp;&amp; v &gt;= 0,
<a name="line318"></a>          &#39;Invalid input. Value %s at position %s is not a byte.&#39;, v, p);
<a name="line319"></a>
<a name="line320"></a>      this.state_[r][c] = v;
<a name="line321"></a>    }
<a name="line322"></a>  }
<a name="line323"></a>};
<a name="line324"></a>
<a name="line325"></a>
<a name="line326"></a>/**
<a name="line327"></a> * Helper to copy the state matrix into an output array.
<a name="line328"></a> * @return {!Array.&lt;number&gt;} Output byte array.
<a name="line329"></a> * @private
<a name="line330"></a> */
<a name="line331"></a>goog.crypt.Aes.prototype.generateOutput_ = function() {
<a name="line332"></a>  var output = [];
<a name="line333"></a>  for (var r = 0; r &lt; goog.crypt.Aes.BLOCK_SIZE_; r++) {
<a name="line334"></a>    for (var c = 0; c &lt; 4; c++) {
<a name="line335"></a>      output[c * 4 + r] = this.state_[r][c];
<a name="line336"></a>    }
<a name="line337"></a>  }
<a name="line338"></a>  return output;
<a name="line339"></a>};
<a name="line340"></a>
<a name="line341"></a>
<a name="line342"></a>/**
<a name="line343"></a> * AES&#39;s AddRoundKey procedure. Add the current round key to the state.
<a name="line344"></a> * @param {number} round The current round.
<a name="line345"></a> * @private
<a name="line346"></a> */
<a name="line347"></a>goog.crypt.Aes.prototype.addRoundKey_ = function(round) {
<a name="line348"></a>  for (var r = 0; r &lt; 4; r++) {
<a name="line349"></a>    for (var c = 0; c &lt; 4; c++) {
<a name="line350"></a>      this.state_[r][c] ^= this.keySchedule_[round * 4 + c][r];
<a name="line351"></a>    }
<a name="line352"></a>  }
<a name="line353"></a>};
<a name="line354"></a>
<a name="line355"></a>
<a name="line356"></a>/**
<a name="line357"></a> * AES&#39;s SubBytes procedure. Substitute bytes from the precomputed SBox lookup
<a name="line358"></a> * into the state.
<a name="line359"></a> * @param {!Array.&lt;number&gt;} box The SBox or invSBox.
<a name="line360"></a> * @private
<a name="line361"></a> */
<a name="line362"></a>goog.crypt.Aes.prototype.subBytes_ = function(box) {
<a name="line363"></a>  for (var r = 0; r &lt; 4; r++) {
<a name="line364"></a>    for (var c = 0; c &lt; 4; c++) {
<a name="line365"></a>      this.state_[r][c] = box[this.state_[r][c]];
<a name="line366"></a>    }
<a name="line367"></a>  }
<a name="line368"></a>};
<a name="line369"></a>
<a name="line370"></a>
<a name="line371"></a>/**
<a name="line372"></a> * AES&#39;s ShiftRows procedure. Shift the values in each row to the right. Each
<a name="line373"></a> * row is shifted one more slot than the one above it.
<a name="line374"></a> * @private
<a name="line375"></a> */
<a name="line376"></a>goog.crypt.Aes.prototype.shiftRows_ = function() {
<a name="line377"></a>  for (var r = 1; r &lt; 4; r++) {
<a name="line378"></a>    for (var c = 0; c &lt; 4; c++) {
<a name="line379"></a>      this.temp_[r][c] = this.state_[r][c];
<a name="line380"></a>    }
<a name="line381"></a>  }
<a name="line382"></a>
<a name="line383"></a>  for (var r = 1; r &lt; 4; r++) {
<a name="line384"></a>    for (var c = 0; c &lt; 4; c++) {
<a name="line385"></a>      this.state_[r][c] = this.temp_[r][(c + r) %
<a name="line386"></a>          goog.crypt.Aes.BLOCK_SIZE_];
<a name="line387"></a>    }
<a name="line388"></a>  }
<a name="line389"></a>};
<a name="line390"></a>
<a name="line391"></a>
<a name="line392"></a>/**
<a name="line393"></a> * AES&#39;s InvShiftRows procedure. Shift the values in each row to the right.
<a name="line394"></a> * @private
<a name="line395"></a> */
<a name="line396"></a>goog.crypt.Aes.prototype.invShiftRows_ = function() {
<a name="line397"></a>  for (var r = 1; r &lt; 4; r++) {
<a name="line398"></a>    for (var c = 0; c &lt; 4; c++) {
<a name="line399"></a>      this.temp_[r][(c + r) % goog.crypt.Aes.BLOCK_SIZE_] =
<a name="line400"></a>          this.state_[r][c];
<a name="line401"></a>    }
<a name="line402"></a>  }
<a name="line403"></a>
<a name="line404"></a>  for (var r = 1; r &lt; 4; r++) {
<a name="line405"></a>    for (var c = 0; c &lt; 4; c++) {
<a name="line406"></a>      this.state_[r][c] = this.temp_[r][c];
<a name="line407"></a>    }
<a name="line408"></a>  }
<a name="line409"></a>};
<a name="line410"></a>
<a name="line411"></a>
<a name="line412"></a>/**
<a name="line413"></a> * AES&#39;s MixColumns procedure. Mix the columns of the state using magic.
<a name="line414"></a> * @private
<a name="line415"></a> */
<a name="line416"></a>goog.crypt.Aes.prototype.mixColumns_ = function() {
<a name="line417"></a>  var s = this.state_;
<a name="line418"></a>  var t = this.temp_[0];
<a name="line419"></a>
<a name="line420"></a>  for (var c = 0; c &lt; 4; c++) {
<a name="line421"></a>    t[0] = s[0][c];
<a name="line422"></a>    t[1] = s[1][c];
<a name="line423"></a>    t[2] = s[2][c];
<a name="line424"></a>    t[3] = s[3][c];
<a name="line425"></a>
<a name="line426"></a>    s[0][c] = (goog.crypt.Aes.MULT_2_[t[0]] ^
<a name="line427"></a>               goog.crypt.Aes.MULT_3_[t[1]] ^ t[2] ^ t[3]);
<a name="line428"></a>    s[1][c] = (t[0] ^ goog.crypt.Aes.MULT_2_[t[1]] ^
<a name="line429"></a>               goog.crypt.Aes.MULT_3_[t[2]] ^ t[3]);
<a name="line430"></a>    s[2][c] = (t[0] ^ t[1] ^ goog.crypt.Aes.MULT_2_[t[2]] ^
<a name="line431"></a>               goog.crypt.Aes.MULT_3_[t[3]]);
<a name="line432"></a>    s[3][c] = (goog.crypt.Aes.MULT_3_[t[0]] ^ t[1] ^ t[2] ^
<a name="line433"></a>               goog.crypt.Aes.MULT_2_[t[3]]);
<a name="line434"></a>  }
<a name="line435"></a>};
<a name="line436"></a>
<a name="line437"></a>
<a name="line438"></a>/**
<a name="line439"></a> * AES&#39;s InvMixColumns procedure.
<a name="line440"></a> * @private
<a name="line441"></a> */
<a name="line442"></a>goog.crypt.Aes.prototype.invMixColumns_ = function() {
<a name="line443"></a>  var s = this.state_;
<a name="line444"></a>  var t = this.temp_[0];
<a name="line445"></a>
<a name="line446"></a>  for (var c = 0; c &lt; 4; c++) {
<a name="line447"></a>    t[0] = s[0][c];
<a name="line448"></a>    t[1] = s[1][c];
<a name="line449"></a>    t[2] = s[2][c];
<a name="line450"></a>    t[3] = s[3][c];
<a name="line451"></a>
<a name="line452"></a>    s[0][c] = (
<a name="line453"></a>        goog.crypt.Aes.MULT_E_[t[0]] ^ goog.crypt.Aes.MULT_B_[t[1]] ^
<a name="line454"></a>        goog.crypt.Aes.MULT_D_[t[2]] ^ goog.crypt.Aes.MULT_9_[t[3]]);
<a name="line455"></a>
<a name="line456"></a>    s[1][c] = (
<a name="line457"></a>        goog.crypt.Aes.MULT_9_[t[0]] ^ goog.crypt.Aes.MULT_E_[t[1]] ^
<a name="line458"></a>        goog.crypt.Aes.MULT_B_[t[2]] ^ goog.crypt.Aes.MULT_D_[t[3]]);
<a name="line459"></a>
<a name="line460"></a>    s[2][c] = (
<a name="line461"></a>        goog.crypt.Aes.MULT_D_[t[0]] ^ goog.crypt.Aes.MULT_9_[t[1]] ^
<a name="line462"></a>        goog.crypt.Aes.MULT_E_[t[2]] ^ goog.crypt.Aes.MULT_B_[t[3]]);
<a name="line463"></a>
<a name="line464"></a>    s[3][c] = (
<a name="line465"></a>        goog.crypt.Aes.MULT_B_[t[0]] ^ goog.crypt.Aes.MULT_D_[t[1]] ^
<a name="line466"></a>        goog.crypt.Aes.MULT_9_[t[2]] ^ goog.crypt.Aes.MULT_E_[t[3]]);
<a name="line467"></a>  }
<a name="line468"></a>};
<a name="line469"></a>
<a name="line470"></a>
<a name="line471"></a>/**
<a name="line472"></a> * AES&#39;s KeyExpansion procedure. Create the key schedule from the initial key.
<a name="line473"></a> * @private
<a name="line474"></a> */
<a name="line475"></a>goog.crypt.Aes.prototype.keyExpansion_ = function() {
<a name="line476"></a>  this.keySchedule_ = new Array(goog.crypt.Aes.BLOCK_SIZE_ * (
<a name="line477"></a>      this.numberOfRounds_ + 1));
<a name="line478"></a>
<a name="line479"></a>  for (var rowNum = 0; rowNum &lt; this.keyLength_; rowNum++) {
<a name="line480"></a>    this.keySchedule_[rowNum] = [
<a name="line481"></a>      this.key_[4 * rowNum],
<a name="line482"></a>      this.key_[4 * rowNum + 1],
<a name="line483"></a>      this.key_[4 * rowNum + 2],
<a name="line484"></a>      this.key_[4 * rowNum + 3]
<a name="line485"></a>    ];
<a name="line486"></a>  }
<a name="line487"></a>
<a name="line488"></a>  var temp = new Array(4);
<a name="line489"></a>
<a name="line490"></a>  for (var rowNum = this.keyLength_;
<a name="line491"></a>       rowNum &lt; (goog.crypt.Aes.BLOCK_SIZE_ * (this.numberOfRounds_ + 1));
<a name="line492"></a>       rowNum++) {
<a name="line493"></a>    temp[0] = this.keySchedule_[rowNum - 1][0];
<a name="line494"></a>    temp[1] = this.keySchedule_[rowNum - 1][1];
<a name="line495"></a>    temp[2] = this.keySchedule_[rowNum - 1][2];
<a name="line496"></a>    temp[3] = this.keySchedule_[rowNum - 1][3];
<a name="line497"></a>
<a name="line498"></a>    if (rowNum % this.keyLength_ == 0) {
<a name="line499"></a>      this.rotWord_(temp);
<a name="line500"></a>      this.subWord_(temp);
<a name="line501"></a>
<a name="line502"></a>      temp[0] ^= goog.crypt.Aes.RCON_[rowNum / this.keyLength_][0];
<a name="line503"></a>      temp[1] ^= goog.crypt.Aes.RCON_[rowNum / this.keyLength_][1];
<a name="line504"></a>      temp[2] ^= goog.crypt.Aes.RCON_[rowNum / this.keyLength_][2];
<a name="line505"></a>      temp[3] ^= goog.crypt.Aes.RCON_[rowNum / this.keyLength_][3];
<a name="line506"></a>    } else if (this.keyLength_ &gt; 6 &amp;&amp; rowNum % this.keyLength_ == 4) {
<a name="line507"></a>      this.subWord_(temp);
<a name="line508"></a>    }
<a name="line509"></a>
<a name="line510"></a>    this.keySchedule_[rowNum] = new Array(4);
<a name="line511"></a>    this.keySchedule_[rowNum][0] =
<a name="line512"></a>        this.keySchedule_[rowNum - this.keyLength_][0] ^ temp[0];
<a name="line513"></a>    this.keySchedule_[rowNum][1] =
<a name="line514"></a>        this.keySchedule_[rowNum - this.keyLength_][1] ^ temp[1];
<a name="line515"></a>    this.keySchedule_[rowNum][2] =
<a name="line516"></a>        this.keySchedule_[rowNum - this.keyLength_][2] ^ temp[2];
<a name="line517"></a>    this.keySchedule_[rowNum][3] =
<a name="line518"></a>        this.keySchedule_[rowNum - this.keyLength_][3] ^ temp[3];
<a name="line519"></a>  }
<a name="line520"></a>};
<a name="line521"></a>
<a name="line522"></a>
<a name="line523"></a>/**
<a name="line524"></a> * AES&#39;s SubWord procedure.
<a name="line525"></a> * @param {!Array.&lt;number&gt;} w Bytes to find the SBox substitution for.
<a name="line526"></a> * @return {!Array.&lt;number&gt;} The substituted bytes.
<a name="line527"></a> * @private
<a name="line528"></a> */
<a name="line529"></a>goog.crypt.Aes.prototype.subWord_ = function(w) {
<a name="line530"></a>  w[0] = goog.crypt.Aes.SBOX_[w[0]];
<a name="line531"></a>  w[1] = goog.crypt.Aes.SBOX_[w[1]];
<a name="line532"></a>  w[2] = goog.crypt.Aes.SBOX_[w[2]];
<a name="line533"></a>  w[3] = goog.crypt.Aes.SBOX_[w[3]];
<a name="line534"></a>
<a name="line535"></a>  return w;
<a name="line536"></a>};
<a name="line537"></a>
<a name="line538"></a>
<a name="line539"></a>/**
<a name="line540"></a> * AES&#39;s RotWord procedure.
<a name="line541"></a> * @param {!Array.&lt;number&gt;} w Array of bytes to rotate.
<a name="line542"></a> * @return {!Array.&lt;number&gt;} The rotated bytes.
<a name="line543"></a> * @private
<a name="line544"></a> */
<a name="line545"></a>goog.crypt.Aes.prototype.rotWord_ = function(w) {
<a name="line546"></a>  var temp = w[0];
<a name="line547"></a>
<a name="line548"></a>  w[0] = w[1];
<a name="line549"></a>  w[1] = w[2];
<a name="line550"></a>  w[2] = w[3];
<a name="line551"></a>  w[3] = temp;
<a name="line552"></a>
<a name="line553"></a>  return w;
<a name="line554"></a>};
<a name="line555"></a>
<a name="line556"></a>
<a name="line557"></a>/**
<a name="line558"></a> * The key schedule.
<a name="line559"></a> * @type {!Array.&lt;number&gt;}
<a name="line560"></a> * @private
<a name="line561"></a> */
<a name="line562"></a>goog.crypt.Aes.prototype.keySchedule_;
<a name="line563"></a>
<a name="line564"></a>
<a name="line565"></a>/**
<a name="line566"></a> * Precomputed SBox lookup.
<a name="line567"></a> * @type {!Array.&lt;number&gt;}
<a name="line568"></a> * @private
<a name="line569"></a> */
<a name="line570"></a>goog.crypt.Aes.SBOX_ = [
<a name="line571"></a>  0x63, 0x7c, 0x77, 0x7b, 0xf2, 0x6b, 0x6f, 0xc5, 0x30, 0x01, 0x67, 0x2b, 0xfe,
<a name="line572"></a>  0xd7, 0xab, 0x76,
<a name="line573"></a>
<a name="line574"></a>  0xca, 0x82, 0xc9, 0x7d, 0xfa, 0x59, 0x47, 0xf0, 0xad, 0xd4, 0xa2, 0xaf, 0x9c,
<a name="line575"></a>  0xa4, 0x72, 0xc0,
<a name="line576"></a>
<a name="line577"></a>  0xb7, 0xfd, 0x93, 0x26, 0x36, 0x3f, 0xf7, 0xcc, 0x34, 0xa5, 0xe5, 0xf1, 0x71,
<a name="line578"></a>  0xd8, 0x31, 0x15,
<a name="line579"></a>
<a name="line580"></a>  0x04, 0xc7, 0x23, 0xc3, 0x18, 0x96, 0x05, 0x9a, 0x07, 0x12, 0x80, 0xe2, 0xeb,
<a name="line581"></a>  0x27, 0xb2, 0x75,
<a name="line582"></a>
<a name="line583"></a>  0x09, 0x83, 0x2c, 0x1a, 0x1b, 0x6e, 0x5a, 0xa0, 0x52, 0x3b, 0xd6, 0xb3, 0x29,
<a name="line584"></a>  0xe3, 0x2f, 0x84,
<a name="line585"></a>
<a name="line586"></a>  0x53, 0xd1, 0x00, 0xed, 0x20, 0xfc, 0xb1, 0x5b, 0x6a, 0xcb, 0xbe, 0x39, 0x4a,
<a name="line587"></a>  0x4c, 0x58, 0xcf,
<a name="line588"></a>
<a name="line589"></a>  0xd0, 0xef, 0xaa, 0xfb, 0x43, 0x4d, 0x33, 0x85, 0x45, 0xf9, 0x02, 0x7f, 0x50,
<a name="line590"></a>  0x3c, 0x9f, 0xa8,
<a name="line591"></a>
<a name="line592"></a>  0x51, 0xa3, 0x40, 0x8f, 0x92, 0x9d, 0x38, 0xf5, 0xbc, 0xb6, 0xda, 0x21, 0x10,
<a name="line593"></a>  0xff, 0xf3, 0xd2,
<a name="line594"></a>
<a name="line595"></a>  0xcd, 0x0c, 0x13, 0xec, 0x5f, 0x97, 0x44, 0x17, 0xc4, 0xa7, 0x7e, 0x3d, 0x64,
<a name="line596"></a>  0x5d, 0x19, 0x73,
<a name="line597"></a>
<a name="line598"></a>  0x60, 0x81, 0x4f, 0xdc, 0x22, 0x2a, 0x90, 0x88, 0x46, 0xee, 0xb8, 0x14, 0xde,
<a name="line599"></a>  0x5e, 0x0b, 0xdb,
<a name="line600"></a>
<a name="line601"></a>  0xe0, 0x32, 0x3a, 0x0a, 0x49, 0x06, 0x24, 0x5c, 0xc2, 0xd3, 0xac, 0x62, 0x91,
<a name="line602"></a>  0x95, 0xe4, 0x79,
<a name="line603"></a>
<a name="line604"></a>  0xe7, 0xc8, 0x37, 0x6d, 0x8d, 0xd5, 0x4e, 0xa9, 0x6c, 0x56, 0xf4, 0xea, 0x65,
<a name="line605"></a>  0x7a, 0xae, 0x08,
<a name="line606"></a>
<a name="line607"></a>  0xba, 0x78, 0x25, 0x2e, 0x1c, 0xa6, 0xb4, 0xc6, 0xe8, 0xdd, 0x74, 0x1f, 0x4b,
<a name="line608"></a>  0xbd, 0x8b, 0x8a,
<a name="line609"></a>
<a name="line610"></a>  0x70, 0x3e, 0xb5, 0x66, 0x48, 0x03, 0xf6, 0x0e, 0x61, 0x35, 0x57, 0xb9, 0x86,
<a name="line611"></a>  0xc1, 0x1d, 0x9e,
<a name="line612"></a>
<a name="line613"></a>  0xe1, 0xf8, 0x98, 0x11, 0x69, 0xd9, 0x8e, 0x94, 0x9b, 0x1e, 0x87, 0xe9, 0xce,
<a name="line614"></a>  0x55, 0x28, 0xdf,
<a name="line615"></a>
<a name="line616"></a>  0x8c, 0xa1, 0x89, 0x0d, 0xbf, 0xe6, 0x42, 0x68, 0x41, 0x99, 0x2d, 0x0f, 0xb0,
<a name="line617"></a>  0x54, 0xbb, 0x16
<a name="line618"></a>];
<a name="line619"></a>
<a name="line620"></a>
<a name="line621"></a>/**
<a name="line622"></a> * Precomputed InvSBox lookup.
<a name="line623"></a> * @type {!Array.&lt;number&gt;}
<a name="line624"></a> * @private
<a name="line625"></a> */
<a name="line626"></a>goog.crypt.Aes.INV_SBOX_ = [
<a name="line627"></a>  0x52, 0x09, 0x6a, 0xd5, 0x30, 0x36, 0xa5, 0x38, 0xbf, 0x40, 0xa3, 0x9e, 0x81,
<a name="line628"></a>  0xf3, 0xd7, 0xfb,
<a name="line629"></a>
<a name="line630"></a>  0x7c, 0xe3, 0x39, 0x82, 0x9b, 0x2f, 0xff, 0x87, 0x34, 0x8e, 0x43, 0x44, 0xc4,
<a name="line631"></a>  0xde, 0xe9, 0xcb,
<a name="line632"></a>
<a name="line633"></a>  0x54, 0x7b, 0x94, 0x32, 0xa6, 0xc2, 0x23, 0x3d, 0xee, 0x4c, 0x95, 0x0b, 0x42,
<a name="line634"></a>  0xfa, 0xc3, 0x4e,
<a name="line635"></a>
<a name="line636"></a>  0x08, 0x2e, 0xa1, 0x66, 0x28, 0xd9, 0x24, 0xb2, 0x76, 0x5b, 0xa2, 0x49, 0x6d,
<a name="line637"></a>  0x8b, 0xd1, 0x25,
<a name="line638"></a>
<a name="line639"></a>  0x72, 0xf8, 0xf6, 0x64, 0x86, 0x68, 0x98, 0x16, 0xd4, 0xa4, 0x5c, 0xcc, 0x5d,
<a name="line640"></a>  0x65, 0xb6, 0x92,
<a name="line641"></a>
<a name="line642"></a>  0x6c, 0x70, 0x48, 0x50, 0xfd, 0xed, 0xb9, 0xda, 0x5e, 0x15, 0x46, 0x57, 0xa7,
<a name="line643"></a>  0x8d, 0x9d, 0x84,
<a name="line644"></a>
<a name="line645"></a>  0x90, 0xd8, 0xab, 0x00, 0x8c, 0xbc, 0xd3, 0x0a, 0xf7, 0xe4, 0x58, 0x05, 0xb8,
<a name="line646"></a>  0xb3, 0x45, 0x06,
<a name="line647"></a>
<a name="line648"></a>  0xd0, 0x2c, 0x1e, 0x8f, 0xca, 0x3f, 0x0f, 0x02, 0xc1, 0xaf, 0xbd, 0x03, 0x01,
<a name="line649"></a>  0x13, 0x8a, 0x6b,
<a name="line650"></a>
<a name="line651"></a>  0x3a, 0x91, 0x11, 0x41, 0x4f, 0x67, 0xdc, 0xea, 0x97, 0xf2, 0xcf, 0xce, 0xf0,
<a name="line652"></a>  0xb4, 0xe6, 0x73,
<a name="line653"></a>
<a name="line654"></a>  0x96, 0xac, 0x74, 0x22, 0xe7, 0xad, 0x35, 0x85, 0xe2, 0xf9, 0x37, 0xe8, 0x1c,
<a name="line655"></a>  0x75, 0xdf, 0x6e,
<a name="line656"></a>
<a name="line657"></a>  0x47, 0xf1, 0x1a, 0x71, 0x1d, 0x29, 0xc5, 0x89, 0x6f, 0xb7, 0x62, 0x0e, 0xaa,
<a name="line658"></a>  0x18, 0xbe, 0x1b,
<a name="line659"></a>
<a name="line660"></a>  0xfc, 0x56, 0x3e, 0x4b, 0xc6, 0xd2, 0x79, 0x20, 0x9a, 0xdb, 0xc0, 0xfe, 0x78,
<a name="line661"></a>  0xcd, 0x5a, 0xf4,
<a name="line662"></a>
<a name="line663"></a>  0x1f, 0xdd, 0xa8, 0x33, 0x88, 0x07, 0xc7, 0x31, 0xb1, 0x12, 0x10, 0x59, 0x27,
<a name="line664"></a>  0x80, 0xec, 0x5f,
<a name="line665"></a>
<a name="line666"></a>  0x60, 0x51, 0x7f, 0xa9, 0x19, 0xb5, 0x4a, 0x0d, 0x2d, 0xe5, 0x7a, 0x9f, 0x93,
<a name="line667"></a>  0xc9, 0x9c, 0xef,
<a name="line668"></a>
<a name="line669"></a>  0xa0, 0xe0, 0x3b, 0x4d, 0xae, 0x2a, 0xf5, 0xb0, 0xc8, 0xeb, 0xbb, 0x3c, 0x83,
<a name="line670"></a>  0x53, 0x99, 0x61,
<a name="line671"></a>
<a name="line672"></a>  0x17, 0x2b, 0x04, 0x7e, 0xba, 0x77, 0xd6, 0x26, 0xe1, 0x69, 0x14, 0x63, 0x55,
<a name="line673"></a>  0x21, 0x0c, 0x7d
<a name="line674"></a>];
<a name="line675"></a>
<a name="line676"></a>
<a name="line677"></a>/**
<a name="line678"></a> * Precomputed RCon lookup.
<a name="line679"></a> * @type {!Array.&lt;number&gt;}
<a name="line680"></a> * @private
<a name="line681"></a> */
<a name="line682"></a>goog.crypt.Aes.RCON_ = [
<a name="line683"></a>  [0x00, 0x00, 0x00, 0x00],
<a name="line684"></a>  [0x01, 0x00, 0x00, 0x00],
<a name="line685"></a>  [0x02, 0x00, 0x00, 0x00],
<a name="line686"></a>  [0x04, 0x00, 0x00, 0x00],
<a name="line687"></a>  [0x08, 0x00, 0x00, 0x00],
<a name="line688"></a>  [0x10, 0x00, 0x00, 0x00],
<a name="line689"></a>  [0x20, 0x00, 0x00, 0x00],
<a name="line690"></a>  [0x40, 0x00, 0x00, 0x00],
<a name="line691"></a>  [0x80, 0x00, 0x00, 0x00],
<a name="line692"></a>  [0x1b, 0x00, 0x00, 0x00],
<a name="line693"></a>  [0x36, 0x00, 0x00, 0x00]
<a name="line694"></a>];
<a name="line695"></a>
<a name="line696"></a>
<a name="line697"></a>/**
<a name="line698"></a> * Precomputed lookup of multiplication by 2 in GF(2^8)
<a name="line699"></a> * @type {!Array.&lt;number&gt;}
<a name="line700"></a> * @private
<a name="line701"></a> */
<a name="line702"></a>goog.crypt.Aes.MULT_2_ = [
<a name="line703"></a>  0x00, 0x02, 0x04, 0x06, 0x08, 0x0A, 0x0C, 0x0E, 0x10, 0x12, 0x14, 0x16,
<a name="line704"></a>  0x18, 0x1A, 0x1C, 0x1E,
<a name="line705"></a>
<a name="line706"></a>  0x20, 0x22, 0x24, 0x26, 0x28, 0x2A, 0x2C, 0x2E, 0x30, 0x32, 0x34, 0x36,
<a name="line707"></a>  0x38, 0x3A, 0x3C, 0x3E,
<a name="line708"></a>
<a name="line709"></a>  0x40, 0x42, 0x44, 0x46, 0x48, 0x4A, 0x4C, 0x4E, 0x50, 0x52, 0x54, 0x56,
<a name="line710"></a>  0x58, 0x5A, 0x5C, 0x5E,
<a name="line711"></a>
<a name="line712"></a>  0x60, 0x62, 0x64, 0x66, 0x68, 0x6A, 0x6C, 0x6E, 0x70, 0x72, 0x74, 0x76,
<a name="line713"></a>  0x78, 0x7A, 0x7C, 0x7E,
<a name="line714"></a>
<a name="line715"></a>  0x80, 0x82, 0x84, 0x86, 0x88, 0x8A, 0x8C, 0x8E, 0x90, 0x92, 0x94, 0x96,
<a name="line716"></a>  0x98, 0x9A, 0x9C, 0x9E,
<a name="line717"></a>
<a name="line718"></a>  0xA0, 0xA2, 0xA4, 0xA6, 0xA8, 0xAA, 0xAC, 0xAE, 0xB0, 0xB2, 0xB4, 0xB6,
<a name="line719"></a>  0xB8, 0xBA, 0xBC, 0xBE,
<a name="line720"></a>
<a name="line721"></a>  0xC0, 0xC2, 0xC4, 0xC6, 0xC8, 0xCA, 0xCC, 0xCE, 0xD0, 0xD2, 0xD4, 0xD6,
<a name="line722"></a>  0xD8, 0xDA, 0xDC, 0xDE,
<a name="line723"></a>
<a name="line724"></a>  0xE0, 0xE2, 0xE4, 0xE6, 0xE8, 0xEA, 0xEC, 0xEE, 0xF0, 0xF2, 0xF4, 0xF6,
<a name="line725"></a>  0xF8, 0xFA, 0xFC, 0xFE,
<a name="line726"></a>
<a name="line727"></a>  0x1B, 0x19, 0x1F, 0x1D, 0x13, 0x11, 0x17, 0x15, 0x0B, 0x09, 0x0F, 0x0D,
<a name="line728"></a>  0x03, 0x01, 0x07, 0x05,
<a name="line729"></a>
<a name="line730"></a>  0x3B, 0x39, 0x3F, 0x3D, 0x33, 0x31, 0x37, 0x35, 0x2B, 0x29, 0x2F, 0x2D,
<a name="line731"></a>  0x23, 0x21, 0x27, 0x25,
<a name="line732"></a>
<a name="line733"></a>  0x5B, 0x59, 0x5F, 0x5D, 0x53, 0x51, 0x57, 0x55, 0x4B, 0x49, 0x4F, 0x4D,
<a name="line734"></a>  0x43, 0x41, 0x47, 0x45,
<a name="line735"></a>
<a name="line736"></a>  0x7B, 0x79, 0x7F, 0x7D, 0x73, 0x71, 0x77, 0x75, 0x6B, 0x69, 0x6F, 0x6D,
<a name="line737"></a>  0x63, 0x61, 0x67, 0x65,
<a name="line738"></a>
<a name="line739"></a>  0x9B, 0x99, 0x9F, 0x9D, 0x93, 0x91, 0x97, 0x95, 0x8B, 0x89, 0x8F, 0x8D,
<a name="line740"></a>  0x83, 0x81, 0x87, 0x85,
<a name="line741"></a>
<a name="line742"></a>  0xBB, 0xB9, 0xBF, 0xBD, 0xB3, 0xB1, 0xB7, 0xB5, 0xAB, 0xA9, 0xAF, 0xAD,
<a name="line743"></a>  0xA3, 0xA1, 0xA7, 0xA5,
<a name="line744"></a>
<a name="line745"></a>  0xDB, 0xD9, 0xDF, 0xDD, 0xD3, 0xD1, 0xD7, 0xD5, 0xCB, 0xC9, 0xCF, 0xCD,
<a name="line746"></a>  0xC3, 0xC1, 0xC7, 0xC5,
<a name="line747"></a>
<a name="line748"></a>  0xFB, 0xF9, 0xFF, 0xFD, 0xF3, 0xF1, 0xF7, 0xF5, 0xEB, 0xE9, 0xEF, 0xED,
<a name="line749"></a>  0xE3, 0xE1, 0xE7, 0xE5
<a name="line750"></a>];
<a name="line751"></a>
<a name="line752"></a>
<a name="line753"></a>/**
<a name="line754"></a> * Precomputed lookup of multiplication by 3 in GF(2^8)
<a name="line755"></a> * @type {!Array.&lt;number&gt;}
<a name="line756"></a> * @private
<a name="line757"></a> */
<a name="line758"></a>goog.crypt.Aes.MULT_3_ = [
<a name="line759"></a>  0x00, 0x03, 0x06, 0x05, 0x0C, 0x0F, 0x0A, 0x09, 0x18, 0x1B, 0x1E, 0x1D,
<a name="line760"></a>  0x14, 0x17, 0x12, 0x11,
<a name="line761"></a>
<a name="line762"></a>  0x30, 0x33, 0x36, 0x35, 0x3C, 0x3F, 0x3A, 0x39, 0x28, 0x2B, 0x2E, 0x2D,
<a name="line763"></a>  0x24, 0x27, 0x22, 0x21,
<a name="line764"></a>
<a name="line765"></a>  0x60, 0x63, 0x66, 0x65, 0x6C, 0x6F, 0x6A, 0x69, 0x78, 0x7B, 0x7E, 0x7D,
<a name="line766"></a>  0x74, 0x77, 0x72, 0x71,
<a name="line767"></a>
<a name="line768"></a>  0x50, 0x53, 0x56, 0x55, 0x5C, 0x5F, 0x5A, 0x59, 0x48, 0x4B, 0x4E, 0x4D,
<a name="line769"></a>  0x44, 0x47, 0x42, 0x41,
<a name="line770"></a>
<a name="line771"></a>  0xC0, 0xC3, 0xC6, 0xC5, 0xCC, 0xCF, 0xCA, 0xC9, 0xD8, 0xDB, 0xDE, 0xDD,
<a name="line772"></a>  0xD4, 0xD7, 0xD2, 0xD1,
<a name="line773"></a>
<a name="line774"></a>  0xF0, 0xF3, 0xF6, 0xF5, 0xFC, 0xFF, 0xFA, 0xF9, 0xE8, 0xEB, 0xEE, 0xED,
<a name="line775"></a>  0xE4, 0xE7, 0xE2, 0xE1,
<a name="line776"></a>
<a name="line777"></a>  0xA0, 0xA3, 0xA6, 0xA5, 0xAC, 0xAF, 0xAA, 0xA9, 0xB8, 0xBB, 0xBE, 0xBD,
<a name="line778"></a>  0xB4, 0xB7, 0xB2, 0xB1,
<a name="line779"></a>
<a name="line780"></a>  0x90, 0x93, 0x96, 0x95, 0x9C, 0x9F, 0x9A, 0x99, 0x88, 0x8B, 0x8E, 0x8D,
<a name="line781"></a>  0x84, 0x87, 0x82, 0x81,
<a name="line782"></a>
<a name="line783"></a>  0x9B, 0x98, 0x9D, 0x9E, 0x97, 0x94, 0x91, 0x92, 0x83, 0x80, 0x85, 0x86,
<a name="line784"></a>  0x8F, 0x8C, 0x89, 0x8A,
<a name="line785"></a>
<a name="line786"></a>  0xAB, 0xA8, 0xAD, 0xAE, 0xA7, 0xA4, 0xA1, 0xA2, 0xB3, 0xB0, 0xB5, 0xB6,
<a name="line787"></a>  0xBF, 0xBC, 0xB9, 0xBA,
<a name="line788"></a>
<a name="line789"></a>  0xFB, 0xF8, 0xFD, 0xFE, 0xF7, 0xF4, 0xF1, 0xF2, 0xE3, 0xE0, 0xE5, 0xE6,
<a name="line790"></a>  0xEF, 0xEC, 0xE9, 0xEA,
<a name="line791"></a>
<a name="line792"></a>  0xCB, 0xC8, 0xCD, 0xCE, 0xC7, 0xC4, 0xC1, 0xC2, 0xD3, 0xD0, 0xD5, 0xD6,
<a name="line793"></a>  0xDF, 0xDC, 0xD9, 0xDA,
<a name="line794"></a>
<a name="line795"></a>  0x5B, 0x58, 0x5D, 0x5E, 0x57, 0x54, 0x51, 0x52, 0x43, 0x40, 0x45, 0x46,
<a name="line796"></a>  0x4F, 0x4C, 0x49, 0x4A,
<a name="line797"></a>
<a name="line798"></a>  0x6B, 0x68, 0x6D, 0x6E, 0x67, 0x64, 0x61, 0x62, 0x73, 0x70, 0x75, 0x76,
<a name="line799"></a>  0x7F, 0x7C, 0x79, 0x7A,
<a name="line800"></a>
<a name="line801"></a>  0x3B, 0x38, 0x3D, 0x3E, 0x37, 0x34, 0x31, 0x32, 0x23, 0x20, 0x25, 0x26,
<a name="line802"></a>  0x2F, 0x2C, 0x29, 0x2A,
<a name="line803"></a>
<a name="line804"></a>  0x0B, 0x08, 0x0D, 0x0E, 0x07, 0x04, 0x01, 0x02, 0x13, 0x10, 0x15, 0x16,
<a name="line805"></a>  0x1F, 0x1C, 0x19, 0x1A
<a name="line806"></a>];
<a name="line807"></a>
<a name="line808"></a>
<a name="line809"></a>/**
<a name="line810"></a> * Precomputed lookup of multiplication by 9 in GF(2^8)
<a name="line811"></a> * @type {!Array.&lt;number&gt;}
<a name="line812"></a> * @private
<a name="line813"></a> */
<a name="line814"></a>goog.crypt.Aes.MULT_9_ = [
<a name="line815"></a>  0x00, 0x09, 0x12, 0x1B, 0x24, 0x2D, 0x36, 0x3F, 0x48, 0x41, 0x5A, 0x53,
<a name="line816"></a>  0x6C, 0x65, 0x7E, 0x77,
<a name="line817"></a>
<a name="line818"></a>  0x90, 0x99, 0x82, 0x8B, 0xB4, 0xBD, 0xA6, 0xAF, 0xD8, 0xD1, 0xCA, 0xC3,
<a name="line819"></a>  0xFC, 0xF5, 0xEE, 0xE7,
<a name="line820"></a>
<a name="line821"></a>  0x3B, 0x32, 0x29, 0x20, 0x1F, 0x16, 0x0D, 0x04, 0x73, 0x7A, 0x61, 0x68,
<a name="line822"></a>  0x57, 0x5E, 0x45, 0x4C,
<a name="line823"></a>
<a name="line824"></a>  0xAB, 0xA2, 0xB9, 0xB0, 0x8F, 0x86, 0x9D, 0x94, 0xE3, 0xEA, 0xF1, 0xF8,
<a name="line825"></a>  0xC7, 0xCE, 0xD5, 0xDC,
<a name="line826"></a>
<a name="line827"></a>  0x76, 0x7F, 0x64, 0x6D, 0x52, 0x5B, 0x40, 0x49, 0x3E, 0x37, 0x2C, 0x25,
<a name="line828"></a>  0x1A, 0x13, 0x08, 0x01,
<a name="line829"></a>
<a name="line830"></a>  0xE6, 0xEF, 0xF4, 0xFD, 0xC2, 0xCB, 0xD0, 0xD9, 0xAE, 0xA7, 0xBC, 0xB5,
<a name="line831"></a>  0x8A, 0x83, 0x98, 0x91,
<a name="line832"></a>
<a name="line833"></a>  0x4D, 0x44, 0x5F, 0x56, 0x69, 0x60, 0x7B, 0x72, 0x05, 0x0C, 0x17, 0x1E,
<a name="line834"></a>  0x21, 0x28, 0x33, 0x3A,
<a name="line835"></a>
<a name="line836"></a>  0xDD, 0xD4, 0xCF, 0xC6, 0xF9, 0xF0, 0xEB, 0xE2, 0x95, 0x9C, 0x87, 0x8E,
<a name="line837"></a>  0xB1, 0xB8, 0xA3, 0xAA,
<a name="line838"></a>
<a name="line839"></a>  0xEC, 0xE5, 0xFE, 0xF7, 0xC8, 0xC1, 0xDA, 0xD3, 0xA4, 0xAD, 0xB6, 0xBF,
<a name="line840"></a>  0x80, 0x89, 0x92, 0x9B,
<a name="line841"></a>
<a name="line842"></a>  0x7C, 0x75, 0x6E, 0x67, 0x58, 0x51, 0x4A, 0x43, 0x34, 0x3D, 0x26, 0x2F,
<a name="line843"></a>  0x10, 0x19, 0x02, 0x0B,
<a name="line844"></a>
<a name="line845"></a>  0xD7, 0xDE, 0xC5, 0xCC, 0xF3, 0xFA, 0xE1, 0xE8, 0x9F, 0x96, 0x8D, 0x84,
<a name="line846"></a>  0xBB, 0xB2, 0xA9, 0xA0,
<a name="line847"></a>
<a name="line848"></a>  0x47, 0x4E, 0x55, 0x5C, 0x63, 0x6A, 0x71, 0x78, 0x0F, 0x06, 0x1D, 0x14,
<a name="line849"></a>  0x2B, 0x22, 0x39, 0x30,
<a name="line850"></a>
<a name="line851"></a>  0x9A, 0x93, 0x88, 0x81, 0xBE, 0xB7, 0xAC, 0xA5, 0xD2, 0xDB, 0xC0, 0xC9,
<a name="line852"></a>  0xF6, 0xFF, 0xE4, 0xED,
<a name="line853"></a>
<a name="line854"></a>  0x0A, 0x03, 0x18, 0x11, 0x2E, 0x27, 0x3C, 0x35, 0x42, 0x4B, 0x50, 0x59,
<a name="line855"></a>  0x66, 0x6F, 0x74, 0x7D,
<a name="line856"></a>
<a name="line857"></a>  0xA1, 0xA8, 0xB3, 0xBA, 0x85, 0x8C, 0x97, 0x9E, 0xE9, 0xE0, 0xFB, 0xF2,
<a name="line858"></a>  0xCD, 0xC4, 0xDF, 0xD6,
<a name="line859"></a>
<a name="line860"></a>  0x31, 0x38, 0x23, 0x2A, 0x15, 0x1C, 0x07, 0x0E, 0x79, 0x70, 0x6B, 0x62,
<a name="line861"></a>  0x5D, 0x54, 0x4F, 0x46
<a name="line862"></a>];
<a name="line863"></a>
<a name="line864"></a>
<a name="line865"></a>/**
<a name="line866"></a> * Precomputed lookup of multiplication by 11 in GF(2^8)
<a name="line867"></a> * @type {!Array.&lt;number&gt;}
<a name="line868"></a> * @private
<a name="line869"></a> */
<a name="line870"></a>goog.crypt.Aes.MULT_B_ = [
<a name="line871"></a>  0x00, 0x0B, 0x16, 0x1D, 0x2C, 0x27, 0x3A, 0x31, 0x58, 0x53, 0x4E, 0x45,
<a name="line872"></a>  0x74, 0x7F, 0x62, 0x69,
<a name="line873"></a>
<a name="line874"></a>  0xB0, 0xBB, 0xA6, 0xAD, 0x9C, 0x97, 0x8A, 0x81, 0xE8, 0xE3, 0xFE, 0xF5,
<a name="line875"></a>  0xC4, 0xCF, 0xD2, 0xD9,
<a name="line876"></a>
<a name="line877"></a>  0x7B, 0x70, 0x6D, 0x66, 0x57, 0x5C, 0x41, 0x4A, 0x23, 0x28, 0x35, 0x3E,
<a name="line878"></a>  0x0F, 0x04, 0x19, 0x12,
<a name="line879"></a>
<a name="line880"></a>  0xCB, 0xC0, 0xDD, 0xD6, 0xE7, 0xEC, 0xF1, 0xFA, 0x93, 0x98, 0x85, 0x8E,
<a name="line881"></a>  0xBF, 0xB4, 0xA9, 0xA2,
<a name="line882"></a>
<a name="line883"></a>  0xF6, 0xFD, 0xE0, 0xEB, 0xDA, 0xD1, 0xCC, 0xC7, 0xAE, 0xA5, 0xB8, 0xB3,
<a name="line884"></a>  0x82, 0x89, 0x94, 0x9F,
<a name="line885"></a>
<a name="line886"></a>  0x46, 0x4D, 0x50, 0x5B, 0x6A, 0x61, 0x7C, 0x77, 0x1E, 0x15, 0x08, 0x03,
<a name="line887"></a>  0x32, 0x39, 0x24, 0x2F,
<a name="line888"></a>
<a name="line889"></a>  0x8D, 0x86, 0x9B, 0x90, 0xA1, 0xAA, 0xB7, 0xBC, 0xD5, 0xDE, 0xC3, 0xC8,
<a name="line890"></a>  0xF9, 0xF2, 0xEF, 0xE4,
<a name="line891"></a>
<a name="line892"></a>  0x3D, 0x36, 0x2B, 0x20, 0x11, 0x1A, 0x07, 0x0C, 0x65, 0x6E, 0x73, 0x78,
<a name="line893"></a>  0x49, 0x42, 0x5F, 0x54,
<a name="line894"></a>
<a name="line895"></a>  0xF7, 0xFC, 0xE1, 0xEA, 0xDB, 0xD0, 0xCD, 0xC6, 0xAF, 0xA4, 0xB9, 0xB2,
<a name="line896"></a>  0x83, 0x88, 0x95, 0x9E,
<a name="line897"></a>
<a name="line898"></a>  0x47, 0x4C, 0x51, 0x5A, 0x6B, 0x60, 0x7D, 0x76, 0x1F, 0x14, 0x09, 0x02,
<a name="line899"></a>  0x33, 0x38, 0x25, 0x2E,
<a name="line900"></a>
<a name="line901"></a>  0x8C, 0x87, 0x9A, 0x91, 0xA0, 0xAB, 0xB6, 0xBD, 0xD4, 0xDF, 0xC2, 0xC9,
<a name="line902"></a>  0xF8, 0xF3, 0xEE, 0xE5,
<a name="line903"></a>
<a name="line904"></a>  0x3C, 0x37, 0x2A, 0x21, 0x10, 0x1B, 0x06, 0x0D, 0x64, 0x6F, 0x72, 0x79,
<a name="line905"></a>  0x48, 0x43, 0x5E, 0x55,
<a name="line906"></a>
<a name="line907"></a>  0x01, 0x0A, 0x17, 0x1C, 0x2D, 0x26, 0x3B, 0x30, 0x59, 0x52, 0x4F, 0x44,
<a name="line908"></a>  0x75, 0x7E, 0x63, 0x68,
<a name="line909"></a>
<a name="line910"></a>  0xB1, 0xBA, 0xA7, 0xAC, 0x9D, 0x96, 0x8B, 0x80, 0xE9, 0xE2, 0xFF, 0xF4,
<a name="line911"></a>  0xC5, 0xCE, 0xD3, 0xD8,
<a name="line912"></a>
<a name="line913"></a>  0x7A, 0x71, 0x6C, 0x67, 0x56, 0x5D, 0x40, 0x4B, 0x22, 0x29, 0x34, 0x3F,
<a name="line914"></a>  0x0E, 0x05, 0x18, 0x13,
<a name="line915"></a>
<a name="line916"></a>  0xCA, 0xC1, 0xDC, 0xD7, 0xE6, 0xED, 0xF0, 0xFB, 0x92, 0x99, 0x84, 0x8F,
<a name="line917"></a>  0xBE, 0xB5, 0xA8, 0xA3
<a name="line918"></a>];
<a name="line919"></a>
<a name="line920"></a>
<a name="line921"></a>/**
<a name="line922"></a> * Precomputed lookup of multiplication by 13 in GF(2^8)
<a name="line923"></a> * @type {!Array.&lt;number&gt;}
<a name="line924"></a> * @private
<a name="line925"></a> */
<a name="line926"></a>goog.crypt.Aes.MULT_D_ = [
<a name="line927"></a>  0x00, 0x0D, 0x1A, 0x17, 0x34, 0x39, 0x2E, 0x23, 0x68, 0x65, 0x72, 0x7F,
<a name="line928"></a>  0x5C, 0x51, 0x46, 0x4B,
<a name="line929"></a>
<a name="line930"></a>  0xD0, 0xDD, 0xCA, 0xC7, 0xE4, 0xE9, 0xFE, 0xF3, 0xB8, 0xB5, 0xA2, 0xAF,
<a name="line931"></a>  0x8C, 0x81, 0x96, 0x9B,
<a name="line932"></a>
<a name="line933"></a>  0xBB, 0xB6, 0xA1, 0xAC, 0x8F, 0x82, 0x95, 0x98, 0xD3, 0xDE, 0xC9, 0xC4,
<a name="line934"></a>  0xE7, 0xEA, 0xFD, 0xF0,
<a name="line935"></a>
<a name="line936"></a>  0x6B, 0x66, 0x71, 0x7C, 0x5F, 0x52, 0x45, 0x48, 0x03, 0x0E, 0x19, 0x14,
<a name="line937"></a>  0x37, 0x3A, 0x2D, 0x20,
<a name="line938"></a>
<a name="line939"></a>  0x6D, 0x60, 0x77, 0x7A, 0x59, 0x54, 0x43, 0x4E, 0x05, 0x08, 0x1F, 0x12,
<a name="line940"></a>  0x31, 0x3C, 0x2B, 0x26,
<a name="line941"></a>
<a name="line942"></a>  0xBD, 0xB0, 0xA7, 0xAA, 0x89, 0x84, 0x93, 0x9E, 0xD5, 0xD8, 0xCF, 0xC2,
<a name="line943"></a>  0xE1, 0xEC, 0xFB, 0xF6,
<a name="line944"></a>
<a name="line945"></a>  0xD6, 0xDB, 0xCC, 0xC1, 0xE2, 0xEF, 0xF8, 0xF5, 0xBE, 0xB3, 0xA4, 0xA9,
<a name="line946"></a>  0x8A, 0x87, 0x90, 0x9D,
<a name="line947"></a>
<a name="line948"></a>  0x06, 0x0B, 0x1C, 0x11, 0x32, 0x3F, 0x28, 0x25, 0x6E, 0x63, 0x74, 0x79,
<a name="line949"></a>  0x5A, 0x57, 0x40, 0x4D,
<a name="line950"></a>
<a name="line951"></a>  0xDA, 0xD7, 0xC0, 0xCD, 0xEE, 0xE3, 0xF4, 0xF9, 0xB2, 0xBF, 0xA8, 0xA5,
<a name="line952"></a>  0x86, 0x8B, 0x9C, 0x91,
<a name="line953"></a>
<a name="line954"></a>  0x0A, 0x07, 0x10, 0x1D, 0x3E, 0x33, 0x24, 0x29, 0x62, 0x6F, 0x78, 0x75,
<a name="line955"></a>  0x56, 0x5B, 0x4C, 0x41,
<a name="line956"></a>
<a name="line957"></a>  0x61, 0x6C, 0x7B, 0x76, 0x55, 0x58, 0x4F, 0x42, 0x09, 0x04, 0x13, 0x1E,
<a name="line958"></a>  0x3D, 0x30, 0x27, 0x2A,
<a name="line959"></a>
<a name="line960"></a>  0xB1, 0xBC, 0xAB, 0xA6, 0x85, 0x88, 0x9F, 0x92, 0xD9, 0xD4, 0xC3, 0xCE,
<a name="line961"></a>  0xED, 0xE0, 0xF7, 0xFA,
<a name="line962"></a>
<a name="line963"></a>  0xB7, 0xBA, 0xAD, 0xA0, 0x83, 0x8E, 0x99, 0x94, 0xDF, 0xD2, 0xC5, 0xC8,
<a name="line964"></a>  0xEB, 0xE6, 0xF1, 0xFC,
<a name="line965"></a>
<a name="line966"></a>  0x67, 0x6A, 0x7D, 0x70, 0x53, 0x5E, 0x49, 0x44, 0x0F, 0x02, 0x15, 0x18,
<a name="line967"></a>  0x3B, 0x36, 0x21, 0x2C,
<a name="line968"></a>
<a name="line969"></a>  0x0C, 0x01, 0x16, 0x1B, 0x38, 0x35, 0x22, 0x2F, 0x64, 0x69, 0x7E, 0x73,
<a name="line970"></a>  0x50, 0x5D, 0x4A, 0x47,
<a name="line971"></a>
<a name="line972"></a>  0xDC, 0xD1, 0xC6, 0xCB, 0xE8, 0xE5, 0xF2, 0xFF, 0xB4, 0xB9, 0xAE, 0xA3,
<a name="line973"></a>  0x80, 0x8D, 0x9A, 0x97
<a name="line974"></a>];
<a name="line975"></a>
<a name="line976"></a>
<a name="line977"></a>/**
<a name="line978"></a> * Precomputed lookup of multiplication by 14 in GF(2^8)
<a name="line979"></a> * @type {!Array.&lt;number&gt;}
<a name="line980"></a> * @private
<a name="line981"></a> */
<a name="line982"></a>goog.crypt.Aes.MULT_E_ = [
<a name="line983"></a>  0x00, 0x0E, 0x1C, 0x12, 0x38, 0x36, 0x24, 0x2A, 0x70, 0x7E, 0x6C, 0x62,
<a name="line984"></a>  0x48, 0x46, 0x54, 0x5A,
<a name="line985"></a>
<a name="line986"></a>  0xE0, 0xEE, 0xFC, 0xF2, 0xD8, 0xD6, 0xC4, 0xCA, 0x90, 0x9E, 0x8C, 0x82,
<a name="line987"></a>  0xA8, 0xA6, 0xB4, 0xBA,
<a name="line988"></a>
<a name="line989"></a>  0xDB, 0xD5, 0xC7, 0xC9, 0xE3, 0xED, 0xFF, 0xF1, 0xAB, 0xA5, 0xB7, 0xB9,
<a name="line990"></a>  0x93, 0x9D, 0x8F, 0x81,
<a name="line991"></a>
<a name="line992"></a>  0x3B, 0x35, 0x27, 0x29, 0x03, 0x0D, 0x1F, 0x11, 0x4B, 0x45, 0x57, 0x59,
<a name="line993"></a>  0x73, 0x7D, 0x6F, 0x61,
<a name="line994"></a>
<a name="line995"></a>  0xAD, 0xA3, 0xB1, 0xBF, 0x95, 0x9B, 0x89, 0x87, 0xDD, 0xD3, 0xC1, 0xCF,
<a name="line996"></a>  0xE5, 0xEB, 0xF9, 0xF7,
<a name="line997"></a>
<a name="line998"></a>  0x4D, 0x43, 0x51, 0x5F, 0x75, 0x7B, 0x69, 0x67, 0x3D, 0x33, 0x21, 0x2F,
<a name="line999"></a>  0x05, 0x0B, 0x19, 0x17,
<a name="line1000"></a>
<a name="line1001"></a>  0x76, 0x78, 0x6A, 0x64, 0x4E, 0x40, 0x52, 0x5C, 0x06, 0x08, 0x1A, 0x14,
<a name="line1002"></a>  0x3E, 0x30, 0x22, 0x2C,
<a name="line1003"></a>
<a name="line1004"></a>  0x96, 0x98, 0x8A, 0x84, 0xAE, 0xA0, 0xB2, 0xBC, 0xE6, 0xE8, 0xFA, 0xF4,
<a name="line1005"></a>  0xDE, 0xD0, 0xC2, 0xCC,
<a name="line1006"></a>
<a name="line1007"></a>  0x41, 0x4F, 0x5D, 0x53, 0x79, 0x77, 0x65, 0x6B, 0x31, 0x3F, 0x2D, 0x23,
<a name="line1008"></a>  0x09, 0x07, 0x15, 0x1B,
<a name="line1009"></a>
<a name="line1010"></a>  0xA1, 0xAF, 0xBD, 0xB3, 0x99, 0x97, 0x85, 0x8B, 0xD1, 0xDF, 0xCD, 0xC3,
<a name="line1011"></a>  0xE9, 0xE7, 0xF5, 0xFB,
<a name="line1012"></a>
<a name="line1013"></a>  0x9A, 0x94, 0x86, 0x88, 0xA2, 0xAC, 0xBE, 0xB0, 0xEA, 0xE4, 0xF6, 0xF8,
<a name="line1014"></a>  0xD2, 0xDC, 0xCE, 0xC0,
<a name="line1015"></a>
<a name="line1016"></a>  0x7A, 0x74, 0x66, 0x68, 0x42, 0x4C, 0x5E, 0x50, 0x0A, 0x04, 0x16, 0x18,
<a name="line1017"></a>  0x32, 0x3C, 0x2E, 0x20,
<a name="line1018"></a>
<a name="line1019"></a>  0xEC, 0xE2, 0xF0, 0xFE, 0xD4, 0xDA, 0xC8, 0xC6, 0x9C, 0x92, 0x80, 0x8E,
<a name="line1020"></a>  0xA4, 0xAA, 0xB8, 0xB6,
<a name="line1021"></a>
<a name="line1022"></a>  0x0C, 0x02, 0x10, 0x1E, 0x34, 0x3A, 0x28, 0x26, 0x7C, 0x72, 0x60, 0x6E,
<a name="line1023"></a>  0x44, 0x4A, 0x58, 0x56,
<a name="line1024"></a>
<a name="line1025"></a>  0x37, 0x39, 0x2B, 0x25, 0x0F, 0x01, 0x13, 0x1D, 0x47, 0x49, 0x5B, 0x55,
<a name="line1026"></a>  0x7F, 0x71, 0x63, 0x6D,
<a name="line1027"></a>
<a name="line1028"></a>  0xD7, 0xD9, 0xCB, 0xC5, 0xEF, 0xE1, 0xF3, 0xFD, 0xA7, 0xA9, 0xBB, 0xB5,
<a name="line1029"></a>  0x9F, 0x91, 0x83, 0x8D
<a name="line1030"></a>];
</pre>


</body>
</html>
